// 引入我们初始化的样式
import '@/styles/common.scss'

import { createApp } from 'vue'
import { createPinia } from 'pinia'


import App from './App.vue'
import router from './router'
import {lazyPlugin} from '@/directives'

const app = createApp(App)
// 引入全局组件插件
import { componentPlugin } from '@/components'


const pinia = createPinia()
// 注册持久化插件
app.use(pinia)
app.use(componentPlugin)
app.use(router)
app.use(lazyPlugin)
app.mount('#app')


